package com.oig.sys.base.service;

import com.oig.common.module.SysPageInfo;
import com.oig.common.module.SysRequest;
import com.oig.sys.base.dto.CustomsDto;
import com.oig.sys.base.vo.CustomsVo;

import java.util.List;


/**
 * @author wuxl
 */
public interface ITbCustomsService {


    CustomsVo addTbCustoms(CustomsDto customsDto) ;

    CustomsVo updateTbCustoms(CustomsDto customsDto) ;

    CustomsVo cancelTbCustoms(Integer id) ;


    SysPageInfo<CustomsVo> findCustoms(SysRequest<CustomsDto> customsRequest);


    CustomsVo getByName(String name) ;

    CustomsVo getByOldCode(String oldCode) ;

    CustomsVo getByCode(String code) ;

    List<CustomsVo> getByPortCode(String portCode);
}
